package front

import (
	"github.com/gin-gonic/gin"
	"go-api-template/api/http"
	"go-api-template/api/http/v1/admin/chat"
	"go-api-template/api/http/v1/front"
	"go-api-template/api/ws"
	frontWs "go-api-template/api/ws/front"
)

func SetRouter(r *gin.RouterGroup) {
	rg := r.Group("/front")

	rg.GET("/ws", ws.Handle(frontWs.ClientData{}))
	rg.GET("/chat/sendMessage", http.Handle(&chat.SendMessageReq{}))
	rg.GET("/onlineClientList", http.Handle(&front.OnlineClientListReq{}))

}
